Don't return FALSE from a non-boolean function
authorMatthias Clasen <mclasen@redhat.com>
Wed, 27 Mar 2013 03:30:10 +0000 (23:30 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 27 Mar 2013 03:30:10 +0000 (23:30 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=696608

gtk/gtkcssstylepropertyimpl.c

index 26726d73d7a5f7850445699b45dedad96570644d..ea3cb36c6927f34264250f85f84fd5e17b7a3cd9 100644 (file)
@@ -583,7 +583,7 @@ css_image_value_parse (GtkCssStyleProperty *property,
     {
       image = _gtk_css_image_new_parse (parser);
       if (image == NULL)
-        return FALSE;
+        return NULL;
     }
 
   return _gtk_css_image_value_new (image);